package cn.liyiming.bbs.modular.system.controller;

import cn.stylefeng.roses.core.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: bbs
 * @description: 社区首页,错误页面，catalog页面，case页面
 * @author: 李一鸣
 * @create: 2020-02-16 17:36
 **/
@Controller
@RequestMapping("")
public class IndexController extends BaseController {

    @RequestMapping({"/","index"})
    public String Index(Model model) {

        return "pages/index";
    }

    @RequestMapping({"/catalog"})
    public String catalog(Model model) {

        return "pages/catalog";
    }
    @RequestMapping({"/other/404"})
    public String noFind(Model model) {

        return "pages/other/404";
    }
    @RequestMapping({"/other/notice"})
    public String notice(Model model) {

        return "pages/other/notice";
    }
    @RequestMapping({"/other/tips"})
    public String tips(Model model) {

        return "pages/other/tips";
    }

    @RequestMapping({"/case/case"})
    public String cases(Model model) {
        return "pages/case/case";
    }



}
